Ext.define('FrontSuite.model.TrackedUrl', {
    extend: 'Ext.data.Model',
    requires: [
        'Ext.data.proxy.Rest'
    ],
    fields: [
        { name: 'url_id',        type: 'integer' },
        { name: 'url',           type: 'string' },
        { name: 'auth_required', type: 'string' },
        { name: 'url_title',     type: 'string' },
        { name: 'url_category',  type: 'integer' },
        { name: 'url_type',      type: 'string' }
    ],
    idProperty: 'url_id',
    proxy : {
        type : 'ajax',
        url : 'http://www.acoexhibithall.com/v/prod/apps/sitefront/front-framework/api.php/object/tracked_url',
        reader : {
            type : 'json',
            root : 'data'
        }
    }
});
